<template>
  <div>
    <h2>商品相关信息</h2>
    <slot name="data" ></slot>
    <div>
      <div>商品id: <strong>{{goodInfo.goodNo}}</strong></div>
      <div>商品名称: <strong>{{goodInfo.goodName}}</strong></div>
      <div>商品描述: <slot name="aaa"></slot></div>
    </div>
  </div>
</template>

<script>
export default {
  props:{
    goodInfo:{
     type:Object,
      required:true,
    }
  },
  data(){
    return{
      
    }
  }
}
</script>

<style scoped>
